#ifndef _WIFI_H_
#define _WIFI_H_

#include "USART.h"
#include "LED.h"

extern struct WIFI wifi;
void WIFI_Config(uint8_t* id,uint8_t *password);
void WIFI_BUFF_MEMSET(void);
void wifi_rx_Control(void);
void CONNECT_TO_TCP(uint8_t* id,uint8_t *password);
void CONNECT_TO_UDP(uint8_t* id,uint8_t *password);
void CONNECT_TO_MQTT(uint8_t* id,uint8_t *password);
void C511_TO_TCP(uint8_t* IP ,uint8_t *PORT);
void C511_TO_MQTT(void);
void mqtt_rx_Control(void);
#endif
